package org.kl.bf.repository.basic;

import java.util.List;

import org.kl.bf.entity.basic.Post;
import org.kl.bf.repository.BasicRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface PostDao extends BasicRepository<Post, String>, JpaSpecificationExecutor<Post> {
	List<Post> findByOrganizationIdAndEnable(String id,Integer i);
	List<Post> findByOrganizationId(String id);
	Post findByPostNoAndOrganizationId(String postNo,String id);
	Post findByPostNameAndOrganizationId(String postName,String id);
	List<Post> findByHigherPostId(String id);
}
